package cn.darkhorse.device.vo;

import cn.darkhorse.common.annotation.ReportForm;
import cn.hutool.core.date.LocalDateTimeUtil;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;

import static com.ruoyi.common.utils.DateUtils.parseDateToStr;

@Data
public class HistoryScannerDayVO {

    @ApiModelProperty("日期")
    @Excel(name ="日期",dateFormat = "yyyy-MM-dd",fontFormat = "yyyyMMdd")
    private String date;

    @ApiModelProperty("白班加工包数")
    @Excel(name = "白班加工包数",isStatistics = true)
    @ReportForm
    private BigDecimal dayNum;
    @ApiModelProperty("白班加工毛重(吨)")
    @Excel(name = "白班加工毛重(吨)",isStatistics = true,scale = 3)
    @ReportForm
    private String dayGrossweight;
    @ApiModelProperty("夜班加工包数")
    @Excel(name = "夜班加工包数",isStatistics = true)
    @ReportForm
    private BigDecimal nightNum;
    @ApiModelProperty("夜班加工毛重(吨)")
    @Excel(name = "夜班加工毛重(吨)",isStatistics = true,scale = 3)
    @ReportForm
    private String nightGrossweight;
    @ApiModelProperty("总计加工包数")
    @Excel(name = "总计加工包数",isStatistics = true)
    @ReportForm
    private BigDecimal totalNum;
    @ApiModelProperty("总计加工毛重（吨）")
    @Excel(name = "总计加工毛重（吨）",isStatistics = true,scale = 3)
    @ReportForm
    private String totalGrossweight;

}
